-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add inputest package #19377
Add inputest package #19377
Conversation
The v2/internal/input test package provides helpers for writing input related tests. For now it is internal only, but might be exported if we find it helpful in other places.
Pinging @elastic/integrations-services (Team:Services) |
💔 Tests FailedExpand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
Filebeat failed in system test: This PR only adds some helpers that are not used yet. Relavant go tests did run through. |
(cherry picked from commit f124da8)
What does this PR do?
This change adds the package filebeat/input/v2/internal/inputest.
The inputest package provides helpers for writing input
related tests. For now it is internal only, but might be exported if we
find it helpful in other places.
The current state of the full implementation can be seen here and sample inputs based on the new API.
The full list of changes will include:
This PR only introduces some testing helpers only.
Why is it important?
Add testing support for v2 inputs.
Checklist
- [ ] I have made corresponding changes to the documentation- [ ] I have made corresponding change to the default configuration files- [ ] I have added tests that prove my fix is effective or that my feature works- [ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues